import {createApp} from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import router from "./router";
import {createPinia} from 'pinia'
import VueDOMPurifyHTML from 'vue-dompurify-html'
import BackTop from '@/components/BackTop/index.vue'
import {message} from "ant-design-vue";

message.config({
    top: `70px`,
    duration: 2,
    maxCount: 3,
});

createApp(App).use(router).use(createPinia()).use(ElementPlus).use(Antd).use(VueDOMPurifyHTML).component("backTop", BackTop).mount('#app')